import Vue from 'vue'
import { dropdown,dropdownMenu,dropdownItem,backtop,table,tableColumn,input,form,formItem,
    radioGroup,radioButton,Button,Message,tabs,tabPane,MessageBox,Pagination,Breadcrumb,
    breadcrumbItem,badge} from 'element-ui'

Vue.use(badge)
Vue.use(dropdown)
Vue.use(dropdownMenu)
Vue.use(dropdownItem)
Vue.use(Button)
Vue.use(backtop)
Vue.use(backtop)
Vue.use(table)
Vue.use(tableColumn)
Vue.use(form)
Vue.use(input)
Vue.use(formItem)
Vue.use(radioButton)
Vue.use(radioGroup)
Vue.use(tabs)
Vue.use(tabPane)
Vue.use(Pagination)
Vue.use(Breadcrumb)
Vue.use(breadcrumbItem)
Vue.prototype.$message = Message   //注册给vue，直接可以通过 this.$Message使用
Vue.prototype.$confirm = MessageBox.confirm
